package com.itheima.edu.info.manager.day12;

import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Arrays;

public class Test {
    public static void main(String[] args) throws IOException {
        FileWriter fileWriter = new FileWriter("D://jinjie//实验//c.txt");
        fileWriter.write(65);
        fileWriter.write(66);
        fileWriter.write(67);
        fileWriter.close();
        FileWriter fw = new FileWriter(new File("D://jinjie//实验//b.txt"));
        char[] arr = {12, 3, 4, 5, 6, 7, 8, 9, 97, 85, 45, 655, 15};
        fw.write(arr);
        fw.close();
        FileWriter fw1 = new FileWriter(new File("D://jinjie//实验//d.txt"));
        String arr1 = "asdasfewfsdfssa";
        fw1.write(arr1);
        fw1.close();

    }
}
